﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace NewHPDNWcfService.Entities
{
    [DataContract]
    public class Bill
    {
        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public int TableId { get; set; }

        [DataMember]
        public User Casher { get; set; }

        [DataMember]
        public User Waitress { get; set; }

        [DataMember]
        public double Total { get; set; }

        [DataMember]
        public DateTime Time { get; set; }

        public Bill()
        {
            Id = 1;
            this.TableId = 1;
            this.Time = new DateTime();

        }
    }
}